﻿@import '../UIbase/Default/UIBase.scss';

.LeftWraper {
    width: 18%;
    margin-left: 6%;
    float: left;
    text-align: center;
}
.MiddleWraper{
    width:50%;
    margin-left:25%;
}
#page{
    padding-bottom:45px;
}
/*#region 页面分栏 */
#LeftNavi {
    position:absolute;
    width:30%;
    margin-left: 6%;
    float: left;
    top: 200px;
    line-height:40px;
    overflow-x:hidden;
    overflow-y:hidden;
}
#RightPanel{
    margin-left:37%;
    margin-right:24px;
}
/*#endregion */

#HeadCnt {
    width: 100%;
    height: 150px;
    margin: 0;
    overflow: hidden;
    vertical-align: middle;
    background-color: white;
}
#SiteLogo {
    width:100%;
    height:80%;
    display:inline-block;
    background-position:20% 8px;
    background-image: url('/SiteUI/Imgs/siteLog_white.png');
    background-repeat: no-repeat;
    background-size:100% auto;
    line-height: 1000px;
    margin: auto;
    margin-top:24px;
    color: transparent;
    overflow: visible;
}

#HeadBar{
    width:100%;
    height:45px;
    line-height:40px;
    padding-top:2px;
    padding-bottom:3px;
    background-color:$ClrTheme;
    border-bottom:2px solid darken($ClrTheme,20);
    margin-bottom:15px;
    overflow:hidden;
    z-index:100;
}
#Tools{
    @extend %TitleLv4;
    text-align:left;
    padding-left:5px;
    padding-right:5px;
    height:inherit;
    line-height:inherit;
    &>div{
        cursor:pointer;
        display:inline-block;
    }
    &>div:hover{
        color:white;
        &:before{
            @extend %Icon24-white;
        }
    }
}
/*#region 页面头部内容 */
h2.index_Title{
    margin-top:24px;
    margin-bottom:20px;
    color:$ClrTheme;
}
/*#endregion */

/*#region 页面辅助按钮*/
#PageHelper{
    position:fixed;
    z-index:100;
    top:80%;
    right:250px;
}
#GoTop{
    display:block;
    width:48px;
    height:48px;
    background:url('') /*../../UIbase/Default/Imgs/gotop.png*/ no-repeat;
    opacity:0;
    cursor:pointer;
    &:hover{
        background-position:-50px;
    }
}
/*#endregion*/

/*#region 侧边导航栏 */
#SiteNaviBar {
    display:table;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5%;
    overflow: hidden;
    padding: 0;
    color: white;
    background-color: $ClrThemeBk;
    background-image: url('/UIbase/Default/Imgs/darkBk.png');
    -moz-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    border: none;
    -webkit-appearance: none;
    outline: none;
    z-index: 999;
    box-shadow: 3px 0 6px black;
    cursor:pointer;
    &:hover,
    &:active,
    &:focus{
        border:none;
        -webkit-appearance:none;
        outline:none;
    }
    &.Expand{
        width:20%;
    }
    &>#toMiddle{
        height:100%;
        display:table-cell;
        vertical-align:middle;
    }
}
#siteHome{

}

#NaviItems{
    vertical-align:middle;
    min-height:50%;
    width:100%;
    text-align:center;
}
.NaviLv1 {
    @extend %TitleLv4;
    position:relative;
    width: 100%;
    height: 90px;
    padding-top: 60px;
    margin-bottom: 10px;
    -moz-transition: background-color ease 0.3s;
    -o-transition: background-color ease 0.3s;
    -webkit-transition: background-color ease 0.3s;
    transition: background-color ease 0.3s;
    &:hover{
        color:$ClrTheme;
        background-color:white;
    }
    &.active{
        color:$ClrTheme;
        background-color:white;
    }
}
.Expand .NaviLv1{
    width:25%;
}

#Start{
    background-image:url('/SiteUI/Imgs/favor.png');
    background-position: 18px 10px;
    background-repeat: no-repeat;
    background-size: 48px;
}

#MyWorkspace{
    background-image:url('/SiteUI/Imgs/favor.png');
    background-position: 18px 10px;
    background-repeat: no-repeat;
    background-size: 48px;
}

#PlanMgr{
    background-image:url('/SiteUI/Imgs/plan.png');
    background-position: 13px 10px;
    background-repeat: no-repeat;
    background-size: 48px;
}
#WorkMgr{
    background-image:url('/SIteUI/Imgs/projectmgr.png');
    background-position: 13px 10px;
    background-repeat: no-repeat;
    background-size: 48px;
}
#ProjectMgr{
    background-image:url('/SIteUI/Imgs/projectmgr.png');
    background-position: 13px 10px;
    background-repeat: no-repeat;
    background-size: 48px;
}
#IssueMgr{
    background-image:url('/SiteUI/Imgs/issuemgr.png');
    background-position: 13px 10px;
    background-repeat: no-repeat;
    background-size: 48px;
}
#SystemMgr{
    background-image:url('/SiteUI/Imgs/sysmgr.png');
    background-position: 13px 10px;
    background-repeat: no-repeat;
    background-size: 48px;
}

#NaviLv2Panel {
    width: 80%;
    height: 100%;
    position: absolute;
    left: 125%;
    top: 0;
    right: 0;
    -moz-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
    text-align:left;
    text-indent:2em;
    &.active{
        left:25%;
        background-color:white;
    }
}

.subitem{
    display:block;
    width:100%;
    padding-top:10px;
    height:80px;
    line-height:40px;
    &:hover{
        background-color: $ClrThemeBk;
        background-image: url('/UIbase/Default/Imgs/darkBk.png');
    }
    &>h4{
        margin-bottom:10px;
    }
}

/*#endregion */

/*#region 用户工具条 */
#UserBar{
    display: inline-block;
    height:100%;
    float:right;
    top:0;
    margin-right:2em;
}

#UserBar > div {
    @extend %TitleLv5;
    display: inline-block;
    text-align: center;
    height:45px;
    line-height:45px;
    min-width: 50px;
    margin: 0;
    padding: 0 5px 0 5px;
    cursor: pointer;
    &:hover {
        background-color:white;
    }
}

#Avata:before{
    @extend %Icon24-gray;
    @extend %i24_userAvata;
}

#MyMessage:before {
    @extend %Icon24-gray;
    @extend %i24_message;
}

#MyAlert:before {
    @extend %Icon24-gray;
    @extend %i24_alert;
}

/*#endregion */

//原始提交人菜单项
.proposerItem{
    @extend %TitleLv4;
    padding-left:5px;
}

//模块内二级导航
.SubIndex{
    @extend %TitleLv4;
    margin-right:15px;
    &.active{
        border-bottom:5px solid $ClrFocus;
    }
}